package org.biubiu0002.baiblog.core.model.dto;

import lombok.Data;

import java.util.List;

/**
 * @Author: biubiu0002
 * @Date: 2022-05-09 22:56
 **/
@Data
public class TokenUserDto {
    private String userUid;
    private String username;
    private String nickname;
    private String avatar;
    private String token;

    private List<String> roles;
    private List<String> menus;

    public TokenUserDto(){}

    public TokenUserDto(String userUid, String username, List<String> roles) {
        this.userUid = userUid;
        this.username = username;
        this.roles = roles;
    }
}
